package Odhgos_Polhs;

import java.util.ArrayList;

public class Category {
    
    //Attributes
    private int ID;
    private String type;
        
    private ArrayList<Restaurant> restaurantList = new ArrayList<Restaurant>();  //Υλοποίηση σχέσης με Restaurant
    
    //Constructors
    public Category(int ID, String type) {
        this.ID = ID;
        this.type = type;
    }
    
    //All Setters & Getters

    public int getID() {
        return ID;
    }

    public void setID(int ID) {
        this.ID = ID;
    }

    public ArrayList<Restaurant> getRestaurantList() {
        return restaurantList;
    }

    public void setRestaurantList(ArrayList<Restaurant> restaurantList) {
        this.restaurantList = restaurantList;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
    

    
}// End Class Category
